package com.freely.domain;

public class ResponseMessage<E> {
	private Boolean result;
	private E success;
	private E failure;
	
	public Boolean getResult() {
		return result;
	}
	public void setResult(Boolean result) {
		this.result = result;
	}
	public E getSuccess() {
		return success;
	}
	public void setSuccess(E success) {
		this.success = success;
	}
	public E getFailure() {
		return failure;
	}
	public void setFailure(E failure) {
		this.failure = failure;
	}
	
	@Override
	public String toString() {
		return "ResponseMessage [result=" + result + ", success=" + success + ", failure=" + failure + "]";
	}
	
}
